$(function(){
    var hei = $(document).height() - 63 + 'px';
    $("#bottomFrame").css("height", hei);
    var menuLeft = ($(document).width() - 100 - 360)/2 + 'px';
    $("#activityMenu").css("left", menuLeft);
    layui.use('element', function(){
        var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块
    });

    //初始化下方内容页面
    locationContentFrame('activityreport1.html');
});

function locationContentFrame(htmlPath) {
    // window.parent.frames[2].location.href = htmlPath;
    $('#bottomFrame').prop("src", "./" + htmlPath);
}
